package com.spzx.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.order.domain.OrderForm;
import com.spzx.order.domain.OrderInfo;
import com.spzx.order.domain.TradeVo;

public interface IOrderInfoService extends IService<OrderInfo> {
    TradeVo trade();

    Long submitOrder(OrderForm orderForm);

    void cancelOrder(String orderNo);

    OrderInfo getOrderInfoByOrderNo(String orderNo);

    void updateOrderSuccess(String orderNo);

    OrderInfo getByOrderNo(String orderNo);
}
